package com.qfedu.dao;

import com.qfedu.pojo.entity.UserRole;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserRoleRepository extends JpaRepository<UserRole, Integer> {

    List<UserRole> findByuserId(Integer userId);
}
